package com.hx.testpackage;


import com.hx.Dao.CountryDao;
import com.hx.Dao.RegionsDao;
import com.hx.entity.Countries;
import com.hx.entity.Cups;
import com.hx.entity.Regions;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.List;

public class Test {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("spring1.xml");
        Cups cups= (Cups) context.getBean("cups");
        System.out.println(cups);
    }
}
